package com.mit.common.purchase.dto;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import com.mit.common.dto.AbstractDTO;

public class PODTO extends AbstractDTO {
	private String code;
	private Integer supplierId;
	private String supplierName;
	private Date creationDate;
	private Integer buyer;
	private String buyerName;
	private BigDecimal amt;
	private String state;
	private List<POItemDTO> itemList;
	
	private Date crtDateFrom;
	private Date crtDateTo;
	private String queryStyleCode;
	
	public PODTO(){
		itemList = new ArrayList<POItemDTO>();
	}
	
	public String getQueryStyleCode() {
		return queryStyleCode;
	}

	public void setQueryStyleCode(String queryStyleCode) {
		this.queryStyleCode = queryStyleCode;
	}

	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public Integer getSupplierId() {
		return supplierId;
	}
	public void setSupplierId(Integer supplierId) {
		this.supplierId = supplierId;
	}
	public String getSupplierName() {
		return supplierName;
	}
	public void setSupplierName(String supplierName) {
		this.supplierName = supplierName;
	}
	public Date getCreationDate() {
		return creationDate;
	}
	public void setCreationDate(Date creationDate) {
		this.creationDate = creationDate;
	}
	public Integer getBuyer() {
		return buyer;
	}
	public void setBuyer(Integer buyer) {
		this.buyer = buyer;
	}
	public String getBuyerName() {
		return buyerName;
	}
	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}
	public BigDecimal getAmt() {
		return amt;
	}
	public void setAmt(BigDecimal amt) {
		this.amt = amt;
	}
	public String getState() {
		return state;
	}
	public void setState(String state) {
		this.state = state;
	}
	public List<POItemDTO> getItemList() {
		return itemList;
	}
	public void setItemList(List<POItemDTO> itemList) {
		this.itemList = itemList;
	}
	public Date getCrtDateFrom() {
		return crtDateFrom;
	}
	public void setCrtDateFrom(Date crtDateFrom) {
		this.crtDateFrom = crtDateFrom;
	}
	public Date getCrtDateTo() {
		return crtDateTo;
	}
	public void setCrtDateTo(Date crtDateTo) {
		this.crtDateTo = crtDateTo;
	}
	
	
}
